package com.central.apps.service;

import java.util.List;
import java.util.Map;

/**
 * 预算模版接口类
 *
 * @author 李大超
 * @date 2023/3/23
 */
public interface BudgetTempleteService {

    /**
     * 组织字段和数据信息
     *
     * @param app
     * @param params
     * @return Map<String, Object>
     */
    Map<String, Object> combineData(String app, Map<String, Object> params) throws Exception;

    /**
     * 插入预算预制信息
     *
     * @param tempName
     * @param pbiId
     * @param params
     */
    void addPrependData(String tempName, Integer pbiId, Map<String, Object> params) throws Exception;
}
